help plot plot-element plot sin(x) set title "MeiN erster Titel" REPLOT replot set xlabel "X-Achse" set set ylabel "Y-Achse" re help re plot sin(x), cos(x) plot sin(x), cos(x) sin(x+1.7) plot sin(x), cos(x), sin(x+1.7) plot sin(x), cos(x), sin(x+3.14) plot sin(x), cos(x), sin(x+pi) print pi print 2+2*3 print sin(3.141) print sin(90) print sin(90 * pi/180) f(x) = sin(x*pi/180) print f(90) plot f(x) set xra [0:360] plot [0:180] f(x) plot [0:180] [-2:2] f(x) plot [0:180] [-2:2] f(x) title "Messung" plot [0:180] [-2:2] f(x) title "Messung" lc 3 plot [0:180] [-2:2] f(x) title "Messung" lc 2 plot [0:360] [-2:2] f(x) plot [0:360] [-2:2] f(x) , f(x+90) pwd ! cd ~ ! pwd cd ~ cd "/home/harald/vortrag/ffg-2016/ cd '/home/harald/vortrag/ffg-2016/ save "demo1.gp1" set term fdugkds set term rep set term pos set term p set term po set term po color solid replot set output "demo1.ps" set term x11 ! tail demo1.ps ! gv demo1.ps set term pdf set output "demo1.pdf" ! emacs -nw demo1.pdf ! gv demo1.d ! gv demo1.pdf set term pdf size a4 set term pdf size 29.7cm, 21cm set term png set output "demo1.png" unset term ! xv demo1.png load "demo1.gp1" sho func plot [0:360] [-2:2] f(x) t "Sinus" , f(x+90) tit "Cosinus" lc 3 cd "01_example` !ls ! less i.dat plot "i.dat" ! head i.dat plot "i.dat" using 2:1 ! less /home/harald/.gnuplot set da st p set st da p set st da l set st da imp re set st da bar set st da help set st da help plotting styles !less id !less i.dat set st da lp plot sin(x) , "i.dat" plot sin(x) , "i.dat" us 2:1 plot sin(x)*10 , "i.dat" us 2:1 plot sin(x)*100 , "i.dat" us 2:1 plot sin(x/50)*100 , "i.dat" us 2:1 !cat /home/harald/.gnuplot unset colorsequence set colorsequence help set colorsequence set colorsequence defaul set colorsequence default test set colorsequence classic !less *gp1 set term xterm ! ls cd .. cd ".. set term wxt set term qt plot "i.dat" us 2:1 set xra auto set xrange auto unset xrange rep plot "< echo 1 1 " us 2:1 plot "< echo 1.5 2.5 " us 2:1 plot "< grep ... i.dat " us 2:1 plot "< sort i.dat " us 2:1 plot "< sort -n i.dat " us 0:1 plot "< sort -n i.dat " us 0:2 plot "< sort -k2n i.dat " us 0:2 cd "../ffg-2016/01_example plot "< sort -k2n i.dat " us 0:2*2 plot "< sort -k2n i.dat " us 0:($2*2) cd "../../ffg-2016/ ls cd "02_example_t2/ plot "scale-r-dbg-4-s450.txt plot "scale-r-dbg-4-s400.txt f(x) = a*x+b plot "scale-r-dbg-4-s400.txt , x/;100000 plot "scale-r-dbg-4-s400.txt , x/100000 plot "scale-r-dbg-4-s400.txt" , x/100000 plot "scale-r-dbg-4-s400.txt" , x/10000 plot "scale-r-dbg-4-s400.txt" , x/11000 plot "scale-r-dbg-4-s400.txt" , x/11500 plot "scale-r-dbg-4-s400.txt" , x/11700 plot "scale-r-dbg-4-s400.txt" , f(x) set st da l fit f(x) "scale-r-dbg-4-s400.txt" via a,b plot 1/a print 1/a rep plot "scale-r-dbg-4-s400.txt" , f(x) lc 3 plot "scale-r-dbg-4-s400.txt" us 1:2 plot "scale-r-dbg-4-s400.txt" us 1:($2 -f(x)) plot "scale-r-dbg-4-s400.txt" us 1:($2 -f($1)) load "all.dem" pwd d load "heizoel.gp3" sh plot plot "i.dat" us 2:1 plot "i.dat" us 2:1 , "" us 2:1 with filledcurves fc 2 plot "i.dat" us 2:1 , "" us 2:1 with filledcurves fc 2 , "" us 2:1 with p plot "i.dat" us 2:1 , "" us 2:1 with filledcurves fc 2 , "" us 2:1 with p ,"" us 2:1 with l